package com.dhcc.sds.standard.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.dhcc.cdc.busi.entity.CdcLabItemEntity;
import com.dhcc.cdc.busi.entity.CdcLabOrderEntity;
import com.dhcc.cdc.busi.entity.CdcOrdmastEntity;
import com.dhcc.core.framework.base.service.IBaseService;


import com.dhcc.sds.standard.dto.CdcLabOrderDto;
import com.dhcc.sds.standard.dto.CdcLabitemDto;
import com.dhcc.sds.standard.dto.CdcOrdmastDto;
import com.dhcc.sds.standard.entity.SdsStandDicMatchEntity;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
import java.util.Map;

/**
 * 标化字典对照业务数据服务层接口
 *
 * @ClassName: ISdsStandDicService
 * @Description: TODO
 * @author sunyingjie
 * @date 2021-03-22 10:09:57
 */
public interface ISdsStandDicMatchService extends IBaseService<SdsStandDicMatchEntity> {

    List<SdsStandDicMatchEntity> page(Page<SdsStandDicMatchEntity> page, Map<String, Object> map);
    List<SdsStandDicMatchEntity> list(Map<String, Object> map);

    List<CdcOrdmastDto> pageMatchOrder(Page<SdsStandDicMatchEntity> page, Map<String, Object> params);

    List<CdcOrdmastDto> pageOrder(Page<CdcOrdmastEntity> page, Map<String, Object> params);

    void compare(Long dicId, String orderIDStr, Integer matchType);

    void undo(Long dicId, String orderIDStr, Integer matchType);

    List<CdcLabOrderDto> pageLisOrder(Page<CdcLabOrderEntity> page, Map<String, Object> params);

    List<CdcLabOrderDto> pageMatchLisOrder(Page<SdsStandDicMatchEntity> page, Map<String, Object> params);

    List<CdcOrdmastDto> pageMatchEmr(Page<SdsStandDicMatchEntity> page, Map<String, Object> params);

    List<CdcOrdmastDto> pageEmr(Page<CdcOrdmastDto> page, Map<String, Object> params);

    void autoCompare(Long dicId, String dicName, Integer matchType);

    List<CdcLabitemDto> pageMatchLisItem(Page<SdsStandDicMatchEntity> page, Map<String, Object> params);

    List<CdcLabitemDto> pageLisItem(Page<CdcLabItemEntity> page, Map<String, Object> params);
}
